<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="public::head('查看项目')">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8"></meta>

</head>
<body style="padding-top:50px;">
<input type="hidden" th:value="${session.Id}" id="id"/>
<input type="hidden" th:value="${session.Type}" id="Type"/>

<input type="hidden" th:value="${xiangmuId}" id="xiangmuId">

<div id="Shebeilist">
    <div class="primary-content">

        <div style="margin-top:15px;text-align: center;font-size:24px">
            <span class="btn btn-info" style="float:left;margin-right:15px;margin-top:10px;"
                  v-on:click="toback()">返回</span>
            <label  style="margin-left: 20px; ">{{xiangmu.xiangmuname}}</label>
            <span class="btn btn-danger" style="float:right;margin-right:15px;margin-top:10px;"
                  v-on:click="toDelete()">删除</span>
        </div>
        <div style="margin-top:15px;text-align: center;font-size:24px">
            <label  style="margin-left: 20px; "></label>

        </div>
        <table class="table table-hover table-striped">
            <thead>
            <th style="text-align:center;vertical-align:middle;width: 50px;">院区</th>
            <th style="text-align:center;vertical-align:middle;width: 50px;">序号</th>
            <th style="text-align:center;vertical-align:middle;">科室名称</th>
            <th style="text-align:center;vertical-align:middle;">设备名称</th>
            <th style="text-align:center;vertical-align:middle;">型号</th>
            <th style="text-align:center;vertical-align:middle;">台件数</th>
            <th style="text-align:center;vertical-align:middle;">生产厂家</th>
            <th style="text-align:center;vertical-align:middle;">序列号</th>
            <th style="text-align:center;vertical-align:middle;">启用时间</th>
            <th style="text-align:center;vertical-align:middle;width: 200px;">设备投放公司</th>
            <th style="text-align:center;vertical-align:middle;width: 200px;">现产权归属</th>
            <th style="text-align:center;vertical-align:middle;width: 200px;">问题类别</th>
            <th style="text-align:center;vertical-align:middle;width: 200px;">理由</th>
            </thead>
            <tbody>
            <tr v-for="(item,index) in list" v-if="show">
                <td style="text-align:center;vertical-align:middle;" v-text="item.yuanqu"></td>
                <td style="text-align:center;vertical-align:middle;" v-text="index+1"></td>
                <td style="text-align:center;vertical-align:middle;" v-text="item.shiyongkeshi"></td>
                <td style="text-align:center;vertical-align:middle;" v-text="item.shebeimingcheng"></td>
                <td style="text-align:center;vertical-align:middle;" v-text="item.xinghao"></td>
                <td style="text-align:center;vertical-align:middle;" v-text="item.taijianshu"></td>
                <td style="text-align:center;vertical-align:middle;" v-text="item.shengchanchangshang"></td>
                <td style="text-align:center;vertical-align:middle;" v-text="item.xuliehao"></td>
                <td style="text-align:center;vertical-align:middle;" v-text="item.qiyongshijian"></td>
                <td style="text-align:center;vertical-align:middle;width: 200px;" v-text="item.shebeigongsi"></td>
                <td style="text-align:center;vertical-align:middle;width: 200px;" v-text="item.guishu"></td>
                <td style="text-align:center;vertical-align:middle;width: 200px;" v-text="item.leibie"></td>
                <td style="text-align:center;vertical-align:middle;width: 200px;" v-text="item.liyou"></td>
            </tr>
            </tbody>
        </table>
    </div>
</div>

</body>
<script th:src="@{/js/main/list_shebei.js}"></script>
</html>